package ru.study.thinkin.chapter6;

import ru.study.thinkin.chapter6_test_access.entity.Telephone;
//import ru.study.thinkin.chapter6_test_access.entity.TestAccess;



 public class Test6 {

	public static void main(String[] args) {
		
		MobilePhone t = new MobilePhone("nokia");
		System.out.println(t.getProducer());
		
		Telephone th = new Telephone("motorola  ");
		
		//TestAccess ta =  new TestAccess();
				
		Singleton s = Singleton.getInstance();
		Singleton ss = Singleton.getInstance();
		
		System.out.println(s.getId());
		System.out.println(ss.getId());
		
		
		
		//System.out.println(Integer.toString(2));
		

	}

}
